package com.hjqjl.whapplib.model;

import com.google.gson.annotations.SerializedName;
import com.mp5a5.www.library.net.revert.BaseResponseEntity;

import org.jetbrains.annotations.NotNull;

/**
 * 返回不为code的时候要重写父类处理code几种方法 如：success()方法等
 */
public class BaseResponse extends BaseResponseEntity {
    @SerializedName("message")
    private String msg;

    @NotNull
    @Override
    public String getMsg() {
        return msg;
    }

    @Override
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
